import request from '@/utils/request'

// 发送登录邮件
export function sendEmail(email) {
  return request({
    url: '/message/email/sendCaptcha',
    method: 'post',
    data: {email: email}
  })
}

// 发送注册邮件
export function sendRegisterCaptcha(email) {
	return request({
		url: '/message/email/sendRegisterCaptcha',
		method: 'post',
		data: {email: email}
	})
}

// 发送重置密码邮件
export function sendRestPasswordCaptcha(email) {
	return request({
		url: '/message/email/sendRestPasswordCaptcha',
		method: 'post',
		data: {email: email}
	})
}
